package com.ds.msg.mqtt.command.cmd;

import com.ds.common.DSMEvent;
import com.ds.annotation.EsbBeanAnnotation;
import com.ds.msg.mqtt.command.MQTTCommand;
import com.ds.msg.mqtt.enums.MQTTCommandEnums;


@EsbBeanAnnotation(id = "FireEvent", name = "执行脚本", expressionArr = "FireEventCommand()", desc = "执行脚本")
public class FireEventCommand extends MQTTCommand {

    DSMEvent event;

    public FireEventCommand() {
        super(MQTTCommandEnums.FireEvent);

    }

    public FireEventCommand(DSMEvent event) {
        super(MQTTCommandEnums.FireEvent);
        this.event = event;

    }

    public DSMEvent getEvent() {
        return event;
    }

    public void setEvent(DSMEvent event) {
        this.event = event;
    }
}
